<?php
namespace app\index\controller;
use think\facade\Db;
use think\facade\View;

class User{
    public function user()
    {
        $sql=Db::table('ecm_admin')->select();
        View::assign('sql',$sql);
        return View();
    }
    public function userAdd()
    {
        return View();
    }
    public function userEdit()
    {
        return View();
    }
}